package com.yc.sole.erp.response;

import com.yc.sole.common.enums.CommonState;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Resp对象
 *
 * @author yizuomin
 * @date 2024-03-06
 **/
@Data
public class ProcessResp implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;
    /**
     * 工序编码
     */
    private String code;
    /**
     * 工序名称
     */
    private String name;
    /**
     * 状态 0无效 1有效
     */
    private CommonState state;
    /**
     * 工序单价
     */
    private BigDecimal unitPrice;
    /**
     * 备注
     */
    private String remark;

    public String getText() {
        return name;
    }
}
